package com.demo.server;

import com.demo.dao.IRegisterDao;
import com.demo.entity.MeUser;
import com.jweb.annotaion.JAutowired;

public class RegisterServer {

	@JAutowired
	public IRegisterDao dao;

	public int add(MeUser user) {
		return dao.add(user);
	}

	public MeUser getByLoginName(String loginName) {
		return dao.getByLoginName(loginName);
	}

	public MeUser getByAliasName(String aliasName) {
		return dao.getByAliasName(aliasName);
	}

}
